import datetime
import tushare
import tushare as ts
import smtplib #smtp服务器
from email.mime.text import MIMEText #邮件文本

print(tushare.__version__)
 
pro = ts.pro_api('15ceb9f0738a78141878b3a3a22beed3e64c2b67ec2efd3d857f4ed0')

codeStr= "sh000001"

dp分60 = ts.get_hist_data(codeStr,ktype='60',start=time5)  

dp分15 = ts.get_hist_data(codeStr,ktype='15',start=time5) 

print(dp分60)

print(dp分15)